C1.Web.Mvc Namespace : ListBox<T> Class |
The following tables list the members exposed by ListBox<T>.
Name | Description | |
---|---|---|
ListBox<T> Constructor | Create one ListBox instance. |
Name | Description | |
---|---|---|
CheckedIndexes | Gets or sets a list containing the indexes of checked items. | |
CheckedMemberPath | Gets or sets the name of the property used to control checkboxes placed next to each item. | |
CheckedValues | Gets or sets a list containing the item-values that are currently checked. | |
Components | Gets the child components. (Inherited from C1.Web.Mvc.Component) | |
CssClass | Gets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control) | |
CssStyles | Gets the CSS styles. (Inherited from C1.Web.Mvc.Control) | |
DisplayMemberPath | Gets or sets the name of the property to use as the visual representation of the items. | |
Height | Gets or sets the height of the control. (Inherited from C1.Web.Mvc.Control) | |
HtmlAttributes | Gets the HTML attributes. (Inherited from C1.Web.Mvc.Control) | |
Id | Gets or sets the component id. (Inherited from C1.Web.Mvc.Component) | |
IsContentHtml | Gets or sets a value indicating whether the list displays items as plain text or as HTML. | |
IsDisabled | Gets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control) | |
IsTemplate | Gets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control) | |
ItemFormatter | Gets or sets a function used to customize the values shown in the list. | |
ItemsSource | Gets ItemsSource settings. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>) | |
ItemsSourceId | Gets or sets the ItemsSourceId specify which CollectionViewService will be used for this control. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>) | |
ItemTemplateContent | Gets or sets the id of the template used to generate each list item. | |
ItemTemplateId | Gets or sets the id of the template used to generate each list item. | |
MaxHeight | Gets or sets the maximum height of the list. | |
OnClientCheckedItemsChanged | Occurs when the value of the @see:checkedItems property changes. | |
OnClientFormatItem | Occurs when an element representing a list item has been created. | |
OnClientGotFocus | Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control) | |
OnClientItemChecked | Occurs when the current item is checked or unchecked. | |
OnClientItemsChanged | Occurs when the list of items changes. | |
OnClientLoadedItems | Occurs after the list items are generated. | |
OnClientLoadingItems | Occurs before the list items are generated. | |
OnClientLostFocus | Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control) | |
OnClientSelectedIndexChanged | Occurs when the value of the SelectedIndex property changes. | |
SelectedIndex | Gets or sets the index of the currently selected item in the list. | |
SelectedItem | Gets or sets the item that is currently selected in the list. | |
SelectedValue | Gets or sets the value of the SelectedItem, obtained using the SelectedValuePath. | |
SelectedValuePath | Gets or sets the name of the property used to get the SelectedValue from the SelectedItem. | |
Selector | Gets or sets a value which specifies the selector. (Inherited from C1.Web.Mvc.Control) | |
TemplateBindings | Gets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control) | |
UniqueId | Gets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control) | |
Width | Gets or sets the width of the control. (Inherited from C1.Web.Mvc.Control) |
Name | Description | |
---|---|---|
Render | Render the component result to the writer. (Inherited from C1.Web.Mvc.Control) | |
ToHtmlString | Returns an HTML-encoded string. (Inherited from C1.Web.Mvc.Component) |
Name | Description | |
---|---|---|
ToTemplate | Render the html string in template mode. |